package com.lznAdmin.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: lzn-manage-parent
 * @description: SecurityProperties
 * @author: lzn
 * @create: 2021-07-26 16:35
 **/
@Component
@ConfigurationProperties(prefix = "lznadmin.security")
public class SecurityProperties {
    // 将application.yml 中的 lznadmin.security.authentication 下面的值绑定到此对象中
    private AuthenticationProperties authentication;

    public AuthenticationProperties getAuthentication() {
        return authentication;
    }

    public void setAuthentication(AuthenticationProperties authentication) {
        this.authentication = authentication;
    }


}
